<?php
class Bootstrap_Session {		
	static public function build()	{			
		$config = Zend_Registry::get('config');		
		$sessionConfig = $config->session->toArray();
		$sessionConfig['save_path'] = SESSION_DIR;
		Zend_Session::setOptions($sessionConfig);
		if(!Zend_Session::isStarted()){
			Zend_Session::start();
		}
	}
}